﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SmallDataBase.Attribute;

namespace TestConsoleApplication
{
    [Table("t1", "test")]
    class Entity
    {
        public Entity()
        {
            Date = DateTime.Now;
        }
        [Column("Id", true, true)]
        public int ID { get; set; }
        [Column("Name", false, false)]
        public string MyName { get; set; }

        public string Address { get; set; }

        public int Age { get; set; }

        public string Password { get; set; }

        public float Score { get; set; }

        public DateTime Date { get; set; }
    }
}
